﻿<%@ Page Language="C#" AutoEventWireup="true" MasterPageFile="~/master/CenterMain.Master"
    CodeBehind="UnpaidOrder.aspx.cs" Inherits="com.huigo.B2B.Web.center.order.UnpaidOrder" %>

<%@ Register Assembly="AspnetPagerV1" Namespace="AspnetPagerV1" TagPrefix="cc1" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <h3 class="greybg">
        未支付订单</h3>
        <%=Notiy %>
    <asp:Repeater ID="OrderListContent" runat="server">
        <HeaderTemplate>
            <table width="100%" class="table table-bordered table-striped responsive-utilities table-hover">
                <thead>
                    <tr>
                        <td>
                            订单号
                        </td>
                        <td>
                            保险名称
                        </td>
                        <td>
                            被保人数
                        </td>
                        <td>
                            订单金额
                        </td>
                        <td>
                            订单时间
                        </td>
                        <td>
                            订单状态
                        </td>
                        <td>
                            操作
                        </td>
                    </tr>
                </thead>                
                <tbody>
        </HeaderTemplate>
        <ItemTemplate>
            <tr>
                <td>
                    <a href="OrderDetail.aspx?id=<%#Eval("OrderId") %>" target="_blank">
                        <%#Eval("OrderNo")%></a>
                </td>
                <td>
                    <%#Eval("ProductName")%>
                </td>
                <td>
                    <%#Eval("OrderPersonCount") %>
                </td>
                <td>
                    <%#string.Format("{0:C2}", Convert.ToDecimal(Eval("OrderAmount")))%>
                </td>
                <td>
                    <%# Convert.ToDateTime(Eval("OrderCreatedOn").ToString().Replace("T", "  ")).ToString("yyyy-MM-dd HH:mm:ss")%>
                </td>
                <td>
                    <%#Eval("StatusDesc")%>
                </td>
                <td>
                    <a href="../Pay.aspx?pid=<%#Eval("OrderId") %>">立即支付</a>
                </td>
            </tr>
        </ItemTemplate>
        <FooterTemplate>
        </tbody>
            </table>
        </FooterTemplate>
    </asp:Repeater>
    <cc1:Pager ID="pageInfo" runat="server" OnPageChanged="pageInfo_PageChanged" PageSize="10"
        PreText="上一页" NextText="下一页" ShowPreNext="true" NumericButtonCount="10" Css="page" />
</asp:Content>
